﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Xml.Serialization;

namespace BDSim
{
    [TypeConverter(typeof(ExpandableObjectConverter))]
    public class MeteorologyMsg
    {
        #region 字段
        private StationBase _Parent;
        public MeteorologicalsParam MetParamMsg;
        #endregion

        #region 属性
        [XmlIgnore]
        public StationBase Parent
        {
            get { return _Parent; }
            set { _Parent = value; }
        }  

        #endregion

        #region 功能一：地面站气象参数信息获取实现

        public void GetMeteorological(UTCTime CurTime, BLH_PosVel PosBLH)
        {
            MetParamMsg = ClimateSimModel.GetClimatePara(CurTime, PosBLH, true);  
        }

        #endregion

        public override string ToString()
        {
            return string.Empty;
        }
    }
}
